<div id="logged_in">
    <p>Logged in as <?=$username?></p>
    <span>Logout</span>
</div>